<template>
  <mei-layout style="height:60vh">
    <mei-layout-left title="资产字段" width="240px">
      <sysAssetA1List ref="a1list" @rowClick="onRowClick"></sysAssetA1List>
    </mei-layout-left>
    <mei-layout-main title="查询条件" overflow>
      <search ref="search"></search>
    </mei-layout-main>
  </mei-layout>
</template>

<script>
import sysAssetA1List from "./sysAssetA1List";
import search from "./search";
export default {
  name: "assetA1Search",
  data() {
    return {
      //页面控制
      page: {},
      //数据
      data: {}
    };
  },
  //外部属性
  props: {},
  //内部方法
  methods: {
    async initPage() {},
    onLeftToggle() {
      this.$refs.a1list.$refs.table.doLayout();
    },
    onRowClick(row) {
      this.$refs.search.addItem(row);
    }
  },
  //组件
  components: {
    sysAssetA1List,
    search
  },
  //初始化 异步加async await
  mounted() {
    this.initPage();
  },
  //计算属性
  computed: {},
  //监视
  watch: {}
};
</script>

<style lang="scss" scoped>
@import "@/style/base.scss";
</style>
